/************************************************************************
  			hu/myai/model/db/HistoryValue.java - Copyright bozbalint

Here you can write a license for your code, some comments or any other
information you want to have in your generated code. To to this simply
configure the "headings" directory in uml to point to a directory
where you have your heading files.

or you can just replace the contents of this file with your own.
If you want to do this, this file is located at

/opt/kde3/share/apps/umbrello/headings/heading.java

-->Code Generators searches for heading files based on the file extension
   i.e. it will look for a file name ending in ".h" to include in C++ header
   files, and for a file name ending in ".java" to include in all generated
   java code.
   If you name the file "heading.<extension>", Code Generator will always
   choose this file even if there are other files with the same extension in the
   directory. If you name the file something else, it must be the only one with that
   extension in the directory to guarantee that Code Generator will choose it.

you can use variables in your heading files which are replaced at generation
time. possible variables are : author, date, time, filename and filepath.
just write %variable_name%

This file was generated on Sat Mar 14 2009 at 12:14:34
The original location of this file is /home/bozbalint/uml-generated-code/hu/myai/model/db/HistoryValue.java
 **************************************************************************/

package hu.myai.model.db;

import java.io.Serializable;
import java.util.Date;

/**
 * Class HistoryValue
 *
 * @author bozbalint
 *
 */
public class HistoryVO implements Serializable {

    /**
	 * 
	 */
    private static final long serialVersionUID = 7488077147013614064L;

    private int id;

    private String symbol;

    private Date date;

    private double open;

    private double high;

    private double low;

    private double close;

    private Double volume;

    private Double bid;

    private Double offer;

    public HistoryVO() {
    };

    /**
     * Set the value of id
     * 
     * @param newVar
     *            the new value of id
     */
    public void setId(int newVar) {
        id = newVar;
    }

    /**
     * Get the value of id
     * 
     * @return the value of id
     */
    public int getId() {
        return id;
    }

    /**
     * Set the value of symbol
     * 
     * @param newVar
     *            the new value of symbol
     */
    public void setSymbol(String newVar) {
        symbol = newVar;
    }

    /**
     * Get the value of symbol
     * 
     * @return the value of symbol
     */
    public String getSymbol() {
        return symbol;
    }

    /**
     * Set the value of date
     * 
     * @param newVar
     *            the new value of date
     */
    public void setDate(Date newVar) {
        date = newVar;
    }

    /**
     * Get the value of date
     * 
     * @return the value of date
     */
    public Date getDate() {
        return date;
    }

    /**
     * Set the value of open
     * 
     * @param newVar
     *            the new value of open
     */
    public void setOpen(double newVar) {
        open = newVar;
    }

    /**
     * Get the value of open
     * 
     * @return the value of open
     */
    public double getOpen() {
        return open;
    }

    /**
     * Set the value of high
     * 
     * @param newVar
     *            the new value of high
     */
    public void setHigh(double newVar) {
        high = newVar;
    }

    /**
     * Get the value of high
     * 
     * @return the value of high
     */
    public double getHigh() {
        return high;
    }

    /**
     * Set the value of low
     * 
     * @param newVar
     *            the new value of low
     */
    public void setLow(double newVar) {
        low = newVar;
    }

    /**
     * Get the value of low
     * 
     * @return the value of low
     */
    public double getLow() {
        return low;
    }

    /**
     * Set the value of close
     * 
     * @param newVar
     *            the new value of close
     */
    public void setClose(double newVar) {
        close = newVar;
    }

    /**
     * Get the value of close
     * 
     * @return the value of close
     */
    public double getClose() {
        return close;
    }

    /**
     * Set the value of volume
     * 
     * @param newVar
     *            the new value of volume
     */
    public void setVolume(Double newVar) {
        volume = newVar;
    }

    /**
     * Get the value of volume
     * 
     * @return the value of volume
     */
    public Double getVolume() {
        return volume;
    }

    /**
     * Set the value of bid
     * 
     * @param newVar
     *            the new value of bid
     */
    public void setBid(Double newVar) {
        bid = newVar;
    }

    /**
     * Get the value of bid
     * 
     * @return the value of bid
     */
    public Double getBid() {
        return bid;
    }

    /**
     * Set the value of offer
     * 
     * @param newVar
     *            the new value of offer
     */
    public void setOffer(Double newVar) {
        offer = newVar;
    }

    /**
     * Get the value of offer
     * 
     * @return the value of offer
     */
    public Double getOffer() {
        return offer;
    }

    /**
     * @return boolean
     * @param history
     */
    public boolean equals(HistoryVO history) {
        return false;
    }

    /**
     * @return String
     */
    @Override
    public String toString() {
        return null;

    }

    /**
     * @return int
     */
    @Override
    public int hashCode() {
        return 0;

    }

}
